Method and apparatus for control plane to configure monitoring of differentiated service code point (dscp) and explicit congestion notification (ecn)

ABSTRACT

A method is executed by a network device implementing a control-client to configure a session- sender to perform a test to determine whether differentiated services code point (DSCP) and explicit congestion notification (ECN) are modified in a single test session in a forward direction and a reverse direction between the session-sender and a session-reflector. Multiple DSCP and ECN are tested using the single test session. The method includes receiving a server greeting message from a server including characteristics of the session-reflector, determining whether the session-reflector supports use of multiple DSCP in the single test session, setting a set-up- response message to indicate DSCP and ECN testing, and determining whether the session- reflector supports DSCP and ECN monitoring. The method further includes adding an indicator of DSCP and ECN monitoring in the set-up-response message, in response to a determination that the session-reflector supports DSCP and ECN monitoring, and sending the setup-response message to the server.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is related to the application titled “Method andApparatus for Data Plane to Monitor Differentiated Services Code Point(DSCP) and Explicit Congestion Notification (ECN),” filed on the samedate as the present application.

FIELD

Embodiments of the invention relate to the field of data trafficmeasurement and more specifically, to monitoring differentiated servicescode point (DSCP) values and explicit congestion notification (ECN)values. The embodiments enable the testing of multiple combinations ofDSCP and ECN using a single test session.

BACKGROUND

The Two-Way Active Measurement Protocol (TWAMP), defined by InternetEngineering Task Force (IETF) Request for Comment (RFC) 5357, is broadlyused to measure delay and delay variation in Internet Protocol (IP)networks. TWAMP is based on an earlier protocol One-Way ActiveMeasurement Protocol (OWAMP), defined by IETF RFC 4656. TWAMP provides acommon protocol for measuring two-way metrics between network devices.The measurements are performed in a test session that enables two-way orroundtrip measurement of data traffic in the test session between twonetwork devices.

TWAMP consists of two inter-related protocols: a control protocol(TWAMP-Control) and a test protocol (TWAMP-Test). TWAMP-Control is usedto initiate, start and stop test sessions, whereas TWAMP-Test is used toexchange test packets between two TWAMP entities. There are a set ofTWAMP entities or TWAMP logical entities, referred to as asession-sender, session-reflector, server and control-client.

The control-client initiates a transmission control protocol (TCP)connection with the server, which responds with a greeting message. Thecontrol-client responds with mode information and the server then sendsits acceptance. The control-client configures the session-sender to sendtest packets in a test session with the session-reflector. The serverconfigures the session-reflector to return the test packets receivedfrom the session-sender to the session-sender. Thus, in this way TWAMPestablishes test sessions where the session-sender can identify andmeasure the flow of data traffic between the network devicesimplementing the session-sender and the session-reflector, respectively.

Each test session is conducted with Differentiated Services Code Point(DSCP) and Explicit Congestion Notification (ECN) fields. The DSCP andECN Monitoring extension to TWAMP lets operators detect remarking,intended or erroneous, of the DSCP field as well as changes in the ECNfield in the forward and reverse directions between the two test points.But to test multiple combinations of DSCP and ECN requires a separatetest session to be established for each combination. Thus, in the casewhere the TWAMP-Control protocol is used to negotiate a TWAMP testsession, test parameters, including source and destination user datagramprotocol (UDP) port numbers, will be re-negotiated which may affect theresult of the DSCP and ECN monitoring. And in the case where TWAMP iscontrolled by a command line interface (CLI) or network managementsystem (NMS)/central controller, separate test sessions must beconfigured.

SUMMARY

In one embodiment, a method is executed by a network device implementinga control-client to configure a session-sender to perform a test todetermine whether differentiated services code point (DSCP) and explicitcongestion notification (ECN) are modified in a single test session in aforward direction and a reverse direction between the session-sender anda session-reflector, where multiple DSCP and ECN are tested using thesingle test session. The method includes receiving a server greetingmessage from a server including characteristics of thesession-reflector, determining whether the session-reflector supportsuse of multiple DSCP in the single test session, setting aset-up-response message to indicate DSCP and ECN testing, anddetermining whether the session-reflector supports DSCP and ECNmonitoring. The method further includes adding an indicator of DSCP andECN monitoring in the set-up-response message, in response to adetermination that the session-reflector supports DSCP and ECNmonitoring, and sending the set-up-response message to the server.

In one embodiment, a method executed by a network device implementing aserver to configure a session-reflector to perform a test to determinewhether differentiated services code point (DSCP) and explicitcongestion notification (ECN) are modified in a single test session in aforward direction and a reverse direction between a session-sender andthe session-reflector, where multiple DSCP and ECN are tested using thesingle test session. The method includes sending a server greetingmessage to a control-client including session-reflector characteristicsincluding support for use of multiple DSCP and ECN in a session,receiving a set-up-response message from the control-client indicatingDSCP and ECN testing parameters, and configuring the session-reflectoraccording to the DSCP and ECN testing parameters.

In one embodiment, a network device implements a client-controller toconfigure a session-sender to perform a test to determine whetherdifferentiated services code point (DSCP) and explicit congestionnotification (ECN) are modified in a single test session in a forwarddirection and a reverse direction between the session-sender and asession-reflector, where multiple DSCP and ECN are tested using thesingle test session. The network device includes a non-transitorymachine readable medium having stored therein a test session manager,and a processor. The processor is coupled to the non-transitory machinereadable medium. The processor executes the test session manager. Thetest session manager is configured to receive a server greeting messagefrom a server including characteristics of the session-reflector, todetermine whether the session-reflector supports use of multiple DSCP inthe single test session, to set a set-up-response message to indicateDSCP and ECN testing, to determine whether the session-reflectorsupports DSCP and ECN monitoring, to add an indicator of DSCP and ECNmonitoring in the set-up-response message, in response to adetermination that the session-reflector supports DSCP and ECNmonitoring, and to send the set-up-response message to the server.

In a further embodiment, a network device implements a server toconfigure a session-reflector to perform a test to determine whetherdifferentiated services code point (DSCP) and explicit congestionnotification (ECN) are modified in a single test session in a forwarddirection and a reverse direction between a session-sender and thesession-reflector, where multiple DSCP and ECN are tested using thesingle test session. The network device including a non-transitorymachine readable medium having stored therein a test session manager,and a processor. The processor is coupled to the non-transitory machinereadable medium. The processor executes the test session manager. Thetest session manager is configured to send a server greeting message toa control-client including session-reflector characteristics includingsupport for use of multiple DSCP and ECN in a session, to receive aset-up-response message from the control-client indicating DSCP and ECNtesting parameters, and to configure the session-reflector according tothe DSCP and ECN testing parameters.

In one embodiment, a computing device is in communication with a networkdevice in a network with a plurality of network devices. The computingdevice executes a plurality of virtual machines for implementing networkfunction virtualization (NFV), wherein a virtual machine from theplurality of virtual machines executes a server to configure asession-reflector to perform a test to determine whether differentiatedservices code point (DSCP) and explicit congestion notification (ECN)are modified in a single test session in a forward direction and areverse direction between a session-sender and the session-reflector,where multiple DSCP and ECN are tested using the single test session.The computing device includes a non-transitory machine readable mediumhaving stored therein a test session manager, and a processor. Theprocessor is coupled to the non-transitory machine readable medium. Theprocessor executes a virtual machine. The virtual machine executes thetest session manager. The test session manager is configured to send aserver greeting message to a control-client including session-reflectorcharacteristics including support for use of multiple DSCP and ECN in asession, to receive a set-up-response message from the control-clientindicating DSCP and ECN testing parameters, and to configure thesession-reflector according to the DSCP and ECN testing parameters.

In another embodiment, a control plane device is configured to implementa control plane of a software defined networking (SDN) network includinga plurality of network devices, wherein the control plane device isconfigured to execute a method to implement an orchestrator to perform atest to determine whether differentiated services code point (DSCP) andexplicit congestion notification (ECN) are modified in a single testsession in a forward direction and a reverse direction between asession-sender and a session-reflector, where multiple DSCP and ECN aretested using the single test session. The control plane device includesa non-transitory machine readable medium having stored therein theorchestrator, and a processor coupled to the non-transitory machinereadable medium. The processor executes the orchestrator. Theorchestrator is configured to determine characteristics of thesession-reflector, to determine whether the session-reflector supportsuse of multiple DSCP in a single test session, to set a configurationmessage to indicate DSCP and ECN testing, to determine whether thesession-reflector supports DSCP and ECN monitoring, to add an indicatorof DSCP and ECN monitoring in the configuration message, in response toa determination that the session-reflector supports DSCP and ECNmonitoring, and to send the configuration message to the session-senderand session-reflector.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention may best be understood by referring to the followingdescription and accompanying drawings that are used to illustrateembodiments of the invention. In the drawings:

FIG. 1A is a flowchart of one embodiment of a process for acontrol-client of the two-way active measurement protocol (TWAMP).

FIG. 1B is a flowchart of one embodiment of the process for anorchestrator of a TWAMP test session implemented by a software definednetworking (SDN) controller.

FIG. 2 is a flowchart of one embodiment of a process for the server ofTWAMP.

FIG. 3 is a flowchart of one embodiment of a process for thesession-sender of TWAMP.

FIG. 4 is a flowchart of one embodiment of a process for thesession-reflector of TWAMP.

FIG. 5 is a flowchart of one example embodiment of another process forthe session-sender of TWAMP.

FIG. 6 is a flowchart of one example embodiment of another process forthe session-reflector of TWAMP.

FIG. 7 is a flowchart of another example embodiment of a further processfor the session-sender of TWAMP.

FIG. 8 is a flowchart of another example embodiment of a further processfor the session-reflector of TWAMP.

FIG. 9 is an example test session between a session-sender andsession-reflector.

FIG. 10A illustrates connectivity between network devices (NDs) withinan exemplary network, as well as three exemplary implementations of theNDs, according to some embodiments of the invention.

FIG. 10B illustrates an exemplary way to implement a special-purposenetwork device according to some embodiments of the invention.

FIG. 10C illustrates various exemplary ways in which virtual networkelements (VNEs) may be coupled according to some embodiments of theinvention.

FIG. 10D illustrates a network with a single network element (NE) oneach of the NDs, and within this straight forward approach contrasts atraditional distributed approach (commonly used by traditional routers)with a centralized approach for maintaining reachability and forwardinginformation (also called network control), according to some embodimentsof the invention.

FIG. 10E illustrates the simple case of where each of the NDs implementsa single NE, but a centralized control plane has abstracted multiple ofthe NEs in different NDs into (to represent) a single NE in one of thevirtual network(s), according to some embodiments of the invention.

FIG. 10F illustrates a case where multiple VNEs are implemented ondifferent NDs and are coupled to each other, and where a centralizedcontrol plane has abstracted these multiple VNEs such that they appearas a single VNE within one of the virtual networks, according to someembodiments of the invention.

FIG. 11 illustrates a general purpose control plane device withcentralized control plane (CCP) software, according to some embodimentsof the invention.

DESCRIPTION OF EMBODIMENTS

The following description describes methods and apparatus for datatraffic measurement and more specifically for testing of multiplecombinations of the differentiated services code point (DSCP) andexplicit congestion notification (ECN) using the two-way activemeasurement protocol (TWAMP) or similar protocol. The embodiments enablethe testing of multiple combinations using a single test session. Usinga single test session decreases the overhead associated with testingmultiple DSCP and ECN combinations where the overhead is caused by theset up and tear down of multiple test sessions. The existing artrequires a separate test session be established for each combination ofDSCP and ECN to be tested thereby requiring additional compute andstorage resources. The embodiments provided are described primarily withrelation to implementing the test sessions using TWAMP, however, oneskilled in the art would understand that the principles and processesare also applicable to other similar testing session technologiesincluding ping, service-level agreement (SLA) testing and similartechnologies.

In the following description, numerous specific details such as logicimplementations, opcodes, means to specify operands, resourcepartitioning/sharing/duplication implementations, types andinterrelationships of system components, and logicpartitioning/integration choices are set forth in order to provide amore thorough understanding of the present invention. It will beappreciated, however, by one skilled in the art that the invention maybe practiced without such specific details. In other instances, controlstructures, gate level circuits and full software instruction sequenceshave not been shown in detail in order not to obscure the invention.Those of ordinary skill in the art, with the included descriptions, willbe able to implement appropriate functionality without undueexperimentation.

References in the specification to “one embodiment,” “an embodiment,”“an example embodiment,” etc., indicate that the embodiment describedmay include a particular feature, structure, or characteristic, butevery embodiment may not necessarily include the particular feature,structure, or characteristic. Moreover, such phrases are not necessarilyreferring to the same embodiment. Further, when a particular feature,structure, or characteristic is described in connection with anembodiment, it is submitted that it is within the knowledge of oneskilled in the art to affect such feature, structure, or characteristicin connection with other embodiments whether or not explicitlydescribed.

Bracketed text and blocks with dashed borders (e.g., large dashes, smalldashes, dot-dash, and dots) may be used herein to illustrate optionaloperations that add additional features to embodiments of the invention.However, such notation should not be taken to mean that these are theonly options or optional operations, and/or that blocks with solidborders are not optional in certain embodiments of the invention.

In the following description and claims, the terms “coupled” and“connected,” along with their derivatives, may be used. It should beunderstood that these terms are not intended as synonyms for each other.“Coupled” is used to indicate that two or more elements, which may ormay not be in direct physical or electrical contact with each other,co-operate or interact with each other. “Connected” is used to indicatethe establishment of communication between two or more elements that arecoupled with each other.

An electronic device stores and transmits (internally and/or with otherelectronic devices over a network) code (which is composed of softwareinstructions and which is sometimes referred to as computer program codeor a computer program) and/or data using machine-readable media (alsocalled computer-readable media), such as machine-readable storage media(e.g., magnetic disks, optical disks, read only memory (ROM), flashmemory devices, phase change memory) and machine-readable transmissionmedia (also called a carrier) (e.g., electrical, optical, radio,acoustical or other form of propagated signals—such as carrier waves,infrared signals). Thus, an electronic device (e.g., a computer)includes hardware and software, such as a set of one or more processorscoupled to one or more machine-readable storage media to store code forexecution on the set of processors and/or to store data. For instance,an electronic device may include non-volatile memory containing the codesince the non-volatile memory can persist code/data even when theelectronic device is turned off (when power is removed), and while theelectronic device is turned on that part of the code that is to beexecuted by the processor(s) of that electronic device is typicallycopied from the slower non-volatile memory into volatile memory (e.g.,dynamic random access memory (DRAM), static random access memory (SRAM))of that electronic device. Typical electronic devices also include a setor one or more physical network interface(s) to establish networkconnections (to transmit and/or receive code and/or data usingpropagating signals) with other electronic devices. One or more parts ofan embodiment of the invention may be implemented using differentcombinations of software, firmware, and/or hardware.

A network device (ND) is an electronic device that communicativelyinterconnects other electronic devices on the network (e.g., othernetwork devices, end-user devices). Some network devices are “multipleservices network devices” that provide support for multiple networkingfunctions (e.g., routing, bridging, switching, Layer 2 aggregation,session border control, Quality of Service, and/or subscribermanagement), and/or provide support for multiple application services(e.g., data, voice, and video).

Overview

Each Two-Way Active Measurement Protocol (TWAMP) test session isconducted with a particular differentiated services code point (DSCP)and explicit congestion notification (ECN) that are used in the testpacket exchanged between the session-sender and the session-reflector.The DSCP and ECN are fields in TWAMP test packets utilized in a TWAMPtest session that are expected to remain unchanged on the forward andreverse paths between the session-sender and session-reflector. A DSCPand ECN Monitoring extension to TWAMP can be defined that lets anoperator detect re-marking of data traffic, whether intended orerroneous, of a DSCP field in a test packet as well as changes in an ECNfield. The monitoring of these fields can be conducted in the forwardand reverse directions between the two test points (i.e., thesession-sender and the session-reflector). But to test and monitor theresults of multiple combinations of DSCP and ECN, up to and includingall combinations of DSCP and ECN, or any sub-set of these values,requires a separate test session to be established for each DSCP and ECNcombination to be tested, including in some embodiments repeated testingof the same DSCP and ECN combinations. Thus, in the case where theTWAMP-Control protocol is used to negotiate and establish a TWAMP testsession, the test parameters, including source and destination userdatagram protocol (UDP) port numbers, will be re-negotiated, which mayaffect the results of the DSCP and ECN monitoring. In the case whereTWAMP is controlled by a command line interface (CLI) or a networkmanagement system (NMS)/central controller, separate test sessions mustbe configured to test and monitor each DSCP and ECN combination.

Consistent with the existing TWAMP-Control protocol, the CLI or centralcontroller can be used to configure parameters, including particularvalues of DSCP and ECN fields for a test session. In some embodiments, aDSCP and ECN Monitoring TWAMP extension is utilized to enable thedetection of changes in DSCP and ECN in the forward and reversedirections of the test session, but still only for the singlecombination of these DSCP and ECN values. The existing TWAMP-Testprotocol requires that DSCP and ECN values set by the session-sender andsession-reflector remain the same over the lifetime of the particulartest session. Having to test multiple DSCP and ECN combinations usingseparate TWAMP test sessions incurs significant overhead in setting upand tearing down each test session on a per combination (1:1) basis. Theembodiments of the invention overcome this limitation of the prior art.

The embodiments overcome the deficiencies of the TWAMP process formonitoring DSCP and ECN by adding a mechanism to instruct asession-reflector to use specific DSCP and ECN values defined in thereceived TWAMP test packet as the DSCP and ECN values in thecorresponding reflected TWAMP test packet. In combination with aspecific DSCP and ECN monitoring TWAMP extension that extends TWAMP toinclude the requisite DSCP and ECN, the embodiments provide a set ofmethods and systems that can utilize this information to enablecomprehensive DSCP and ECN monitoring in a single test session.

The embodiments overcome the limitations of the existing TWAMP protocol,by providing a method and apparatus to be used by network entities thatnegotiate parameters of one-sided two-way monitoring of DSCP and ECN torequest a specific DSCP and ECN monitoring mode by thesession-reflector. The embodiments propose a method and apparatus to beused by a network device implementing DSCP and ECN monitoring in anInternet Protocol (IP) network to specify a DSCP and ECN handling modeused in the given test singleton. RFC 5357 specifies the TWAMP Controlprotocol that can be used to negotiate and signal parameters for a TWAMPtest session. The server in the modes field in the server greetingmessage lists capabilities of the session-reflector. The control-clientin the modes field of the set-up-response message requests modes onbehalf of the session-sender. Each server and control-client compareadvertised capabilites and set the test mode for the session-sender andthe session-reflector accordingly.

In one embodiment, DSCP and ECN monitoring is implemented in the forwardand reverse directions. A check is made whether the session-reflectorsupports both the DSCP and ECN Monitoring TWAMP extension. A TWAMPextension refers to a modification and expansion of the capabilities ofthe basic TWAMP defined in RFC 5357. If the session-reflector can handleDSCP and ECN monitoring, then the session-reflector can be configuredfor handling at least the round-trip testing (i.e., thesession-reflector supports a DSCP and ECN monitoring TWAMP extension).If the session-reflector does not support DSCP and ECN monitoring thenthe TWAMP control protocol negotiation between the control-client andserver will not start a TWAMP test session (i.e., in the case where thesession-reflector cannot support the DSCP and ECN Monitoring extension).In cases when a command line interface (CLI) or central controller(e.g., in an SDN network) are used to configure parameters of the TWAMPtest session, selection of mode can be done based on capabilitiesreported by the session-sender and the session-reflector in response toeither a CLI, Netconf or similar query. If the session-reflectorsupports the DSCP and ECN monitoring or similar TWAMP extension thenmore detailed independent testing of the forward and reverse directionsis possible. These embodiments provide advantages over the existingTWAMP implementation by enabling execution of a new type of IPperformance measurement, DSCP and ECN monitoring, within a single TWAMPtest session for a round trip and/or with separate forward and reversetesting. The features of the embodiments can be implemented as anextension to TWAMP that is referred to herein as the single test sessionmultiple DSCP TWAMP extension.

FIG. 1A is a flowchart of one embodiment of a process for aclient-control entity of the two-way active measurement protocol(TWAMP). This embodiment of the control-client process is implementedwhere the control-client is implemented by a network device incommunication with the network device that implements the server or theserver and session-reflector. The network device that implements thecontrol-client may in some embodiments also implement thesession-sender. The process begins within the context of the operationof the TWAMP control protocol, which is the control plane of TWAMP. Theserver and control-client are exchanging messages that includeinformation related to the characteristics and/or capabilities of thesession-sender and session-reflector. The control-client establishes aTCP connection to initiate this negotiation.

After the TCP connection is established, the control-client receives theserver greeting message from the server that includes thecharacteristics and capabilities of the session-reflector (Block 101).The server greeting message can in particular include information as towhether the session-reflector supports the DSCP and ECN monitoring TWAMPextension and/or the single test session multiple DSCP TWAMP extensionor similar capabilities. These extensions to TWAMP enable thesession-sender to generate and utilize a test session where multipleDSCP and ECN are tested in the same test session and a single testsession enables independent testing in both the forward and reversedirections between the session-sender and the session-reflector.

The process of the control-client checks the received characteristics ofthe session-reflector for its support of these TWAMP extensions. Theprocess checks whether the session-reflector supports the single testsession multiple DSCP TWAMP extension, in other words, thesession-reflector supports the use of multiple DSCP in a single testsession (Block 103). If the session-reflector does not support multipleDSCP in a single test session then the process can end (Block 109),since the desired single test session process cannot be performed. Inother embodiments, the process may revert to using multiple testsessions to perform the testing. If the session-reflector does supportsingle test session multiple DSCP then the set-up-response message isprepared to be sent to the server by the control-client. Thisset-up-response message can be updated to indicate that DSCP and ECNtesting is to be utilized in the associated test session (Block 105),which means that the test session is going to utilize this functionalityof the session-reflector.

The control-client then checks whether the session-reflector supportsDSCP and ECN monitoring (Block 107). If the session-reflector supportsDSCP and ECN monitoring, the process adds an indicator to theset-up-response message to indicate that DSCP and ECN monitoring is tobe implemented (Block 111). If the session-reflector does not supportDSCP and ECN monitoring, then the process may forward theset-up-response message to the server (Block 115). The server can thenuse this information and feedback to configure the session-reflector tosupport the desired configuration of a test session using TWAMP. Theimplementation of this process can be via a TWAMP module executed by thenetwork device implementing the control-client.

FIG. 1B is a flowchart of one embodiment of the process for anorchestrator of a TWAMP test session implemented by a software definednetworking (SDN) controller. In this embodiment, the process ofdetermining the capabilities of the session-reflector and session-senderare implemented by the test session manager that is in the form of anorchestrator executed by the central controller. As with thecontrol-client implementation, the test session manager must determinethe characteristics of the session-reflector and/or the session-sender(Block 151). The session-reflector and/or session-sender can reporttheir capabilities directly to the orchestrator of the centralcontroller, or the control-client and server can report thesecapabilities, respectively. Once the capabilities are reported adetermination is made to determine whether the session-reflectorsupports the use of multiple DSCP in a single test session (Block 153).If this is supported, then the configuration message to be sent to thesession-reflector or server is updated to indicate that DSCP and ECNtesting is to be performed (Block 155). If multiple DSCP in a singletest session is not supported, then the process may end theconfiguration of the test session (Block 159), since thesession-reflector is not capable of supporting it. This may result inthe use of standard DSCP and ECN testing using separate test sessionsfor each DSCP and ECN combination.

Following updating of the configuration message, a determination is madewhether support for DSCP and ECN monitoring is supported by thesession-reflector and/or session-sender (Block 157). If thesession-reflector (and session-sender) support the DSCP and ECNmonitoring, then the configuration message can be updated to add anindicator that DSCP and ECN monitoring is to be utilized (Block 161). Ifthe DSCP and ECN monitoring is not supported, then the configurationmessage is completed and it can be sent to the session-reflector orserver to implement the configuration (Block 165). Configuration of thesession-reflector is described, however, one skilled in the art wouldunderstand that the session-sender may be similarly configured toparticipate in the test session for DSCP and ECN testing in anequivalent manner with a similar configuration message generated, setand sent.

FIG. 2 is a flowchart of one embodiment of a process for the server ofTWAMP. The server is responsible for the configuration of thesession-reflector to establish a TWAMP test session for DSCP and ECNtesting. The process can be initiated by sending a server greetingmessage to the control-client that includes session-reflectorcharacteristics and capabilities including whether the session-reflectorsupports multiple DSCP in single test session (e.g., via a single testsession multiple DSCP TWAMP extension) and DSCP and ECN monitoringextensions to TWAMP (Block 201). In response to sending this message,the server may receive a set-up-response message from thecontrol-client. The set-up-response message can indicate the testsession parameters including the use of multiple DSCP in a single testsession and DSCP and ECN monitoring parameters for a test session (Block203). The server can then configure the session-reflector according tothe received DSCP and ECN testing parameters (Block 205).

FIG. 3 is a flowchart of one embodiment of a process for thesession-sender of TWAMP. The control-client configures thesession-sender to start the TWAMP test session with thesession-reflector. The session-sender then determines a next initialforward DSCP and ECN to be tested and determines a next initial reverseDSCP and ECN to be tested (Block 301). The session-sender then generatesa first test packet including the next initial forward DSCP and ECN(e.g., in an IP header or similar location) and the next initial reverseDSCP and ECN (e.g., in a payload of the first test packet or similarlocation) (Block 303). The session-sender sends the generated first testpacket having the selected forward and reverse DSCP and ECN as discussedabove for use within a single test session (Block 305). In furtherembodiments, the first test packet may be sent as one of a set of testpackets. These test packets can have the same DSCP and ECN combination.In this way the process can determine if any of the test packets in theset are modified as some may be handled or routed differently andsending a set rather than one test packet improves the likelihood offinding such an occurrence. However, for sake of clarity, theembodiments are described primarily with reference to sending a singletest packet. One skilled in the art would understand that theprinciples, processes and structures also encompass the use of sets oftest packets.

The first test packet includes two sets of DSCP and ECN that can beselected using any algorithm that iterates through the set ofcombinations to be tested. One of the two sets is for the forwarddirection (e.g., it may be in the IP header in the forward direction)and a second set for the reverse direction (e.g., the set may be in thepayload to be used by the session-reflector when a second test packet isgenerated for the reverse direction). In this way the two directions(i.e., session-sender to session-reflector and then session-reflector tosession-sender) can be separately tested. If the specified initialforward DSCP and ECN arrive at the session-reflector (i.e., in theforward direction) and the initial reverse DSCP and ECN arrive at thesession-sender (i.e., in the reverse direction), then the DSCP and ECNtesting for this combination is successful indicating that the DSCP andECN are not altered in each direction. If the DSCP or ECN are changed ineither direction, then it can be known that the change occurred in aparticular direction, which would not be known if only roundtrip testingwas possible (i.e., the same DSCP and ECN are used in the forward andreverse directions).

In response to the sending of the first test packet, the session-senderreceives a second test packet having the final forward DSCP and ECN thatreached the session-reflector and a final reverse DSCP and ECN (Block307). The forward and reverse transmissions of the first test packet andsecond test packet, respectively, occur in the same test session. Thetest session remains open and this process can iterate through anynumber of DSCP and ECN combinations with separate sets of DSCP and ECNutilized in the forward and reverse directions. While the second testpacket is sent in response to the first test packet, the sending andreceiving of test packets can be handled in parallel by separateprocesses. The process is shown as a single process for sake of clarity.However, the test packets returned by a session-reflector can be handledin any order and not limited to a serial processing of the test packets.

In some embodiments, a check may be made whether a received second testpacket is a valid test packet (Block 309). The validity check canauthenticate or similarly analyze the content and format of the receivedsecond test packet. If the second test packet is not valid, then thefirst test packet can be resent. A limit may be placed on a number ofattempts to resend a first test packet to get a valid response secondtest packet. If the packet is valid, or if no validity check is make,then the process proceeds to collect the final forward and final reverseDSCP and ECN from the second test packet (Block 311). This informationcan be correlated and stored in any data structure to enable thetracking of the success and failure of each DSCP and ECN combinationtested. Where a set of test packets is sent and received, each of theset may be collected and analyzed individually or as a group.

A determination is then made whether all of the forward and reverse DSCPand ECN combinations have been tested (Block 317). If so, then theprocess of testing all of the designated DSCP and ECN combinations hascompleted (Block 319). If additional DSCP and ECN combination remain tobe tested in either the forward or reverse direction, then the next DSCPand ECN combination is determine to be tested (Block 301). The processthen continues within the same test session (i.e., the same TCPconnection and TWAMP test session) until all of the specified subset ofDSCP and ECN (which can include all DSCP and ECN combinations or anysubset thereof) have been tested.

FIG. 4 is a flowchart of one embodiment of a process for thesession-reflector of TWAMP. The session-reflector is configured by theserver. The session-reflector receives a first test packet from thesession-sender within a test session (Block 401). As mentioned above,the first test packet can be one of a set of test packets, however, eachis handled individually as it is received at the session-reflector. Insome embodiments (not shown), the first test packet can be validated andif not valid a request may be made to resend the first test packet. Thesession-reflector inspects the received first test packet and identifiesand collects the final DSCP and ECN for the forward direction (Block403). The DSCP and ECN set to be utilized in a second test packet forthe reverse direction is then identified (Block 405). The DSCP and ECNto be used in the reverse direction can be in the payload or similarsection of the received first test packet. In other embodiments, such aswhere the configuration is via a central controller or CLI, the reverseDSCP and ECN can be provided by the server or similarly configured atthe session-reflector.

A second test packet is then generated by the session-reflector (Block407). The determined DSCP and ECN for the reverse direction can beinserted along with any other relevant information into the second testpacket. The information inserted into the second test packet can includethe final forward DSCP and ECN of the first test packet, therebyreporting the results of the forward direction separately from thetesting of the reverse direction. The first test packet final forwardDSCP and ECN can be inserted into the payload of the second test packet.The generated second test packet is then sent toward the session-senderin the same test session as was used for the forward direction as wellas any prior iterations of the process (Block 409). In embodiments,where the session-reflector does not support the DSCP and ECNmonitoring, the identification of the separate reverse direction DSCPand ECN is not performed and the same DSCP and ECN that was received bythe session-reflector is utilized in the response message.

FIG. 5 is a flowchart of one example embodiment of a process for thesession-sender entity of TWAMP. The process is an example implementationof the test session. In this example implementation, the session-sendergenerates a first test packet having a payload including an initialreverse DSCP and ECN and an IP header having an initial forward DSCP andECN (Block 501). In some embodiments, the first test packet can be partof a set of test packets having any number of test packets with the sameDSCP and ECN. The DSCP and ECN placed in the payload are to be utilizedfor the reverse direction testing. The DSCP and ECN in the IP header arefor the forward direction testing. The first test packet is then sent tothe session-reflector (Block 503). In response to the first test packet,the session-reflector returns a second test packet (Block 505). Thesecond test packet includes a final forward DSCP and ECN in the payloadthat identifies the actual DSCP and ECN received by thesession-reflector in the forward direction from the first test packet,which can be compared to the initial forward DSCP and ECN sent by thesession-sender. The IP header of the second test packet includes a finalreverse DSCP and ECN. The final reverse DSCP and ECN can be compared tothe expected initial reverse DSCP and ECN that were included in thefirst test packet. If the final forward and reverse DSCP and ECN differfrom the initial forward and reverse DSCP and ECN, then thesession-sender can determine whether a given DSCP and ECN combination isproperly handled in the respective forward or reverse direction. Thisprocess can be implemented within a single TWAMP test session.

FIG. 6 is a flowchart of one example embodiment of another process forthe session-reflector entity of TWAMP. This process is an exampleimplementation that complements the session-sender process of FIG. 5.The process is implemented by the session-reflector. Thesession-reflector receives a first test packet from the session-sender(Block 601). The first test packet includes a payload with an initialreverse DSCP and ECN to be used for the reverse testing. The IP headerhas a second set of DSCP and ECN that are a final forward DSCP and ECNthat can be returned to the session-sender to check whether the DSCP andECN in the forward direction are being forwarded without alteration.

The session-reflector generates a second test packet with an IP headerthat contains the initial reverse DSCP and ECN designated in the payloadof the message received from the session-sender (Block 603). The secondtest packet also includes the final forward DSCP and ECN from the IPheader of the received first test packet. This can be placed in thepayload of the second test packet to be checked by the session-sender.Once the second test packet has been completed it can be sent to thesession-sender (Block 605).

FIG. 7 is a flowchart of another example embodiment of a further processfor the session-sender TWAMP. In this alternate implementation the DSCPand/or ECN for a reverse direction testing is not sent in the first testpacket. Instead, it is separately negotiated by thecontrol-client/session-sender and server/session-reflector. In thiscase, the DSCP and ECN to be utilized between the session-sender andsession-reflector are negotiated by exchange of TWAMP control messagesor using a similar mechanism (Block 701). The first test packet is thengenerated by the session-sender using the agreed upon initial forwardDSCP and ECN for the forward direction (Block 703). The first testpacket with the agreed upon initial forward DSCP and ECN is then sent tothe session-reflector with a sequence number (Block 705). The DSCP andECN combination that has been negotiated can be utilized for any numberof test packets to be sent within the same test session, however, thesequence number will be advanced as each test packet is generated. Asecond test packet with the same sequence number is then returned by thesession-reflector and received by the session-sender (Block 707). Thesecond test packet is associated with the first test packet using thesequence number (Block 709). Once associated the verification can becarried out at the session-sender. The DSCP and ECN utilized in thereverse direction can be the same or negotiated separately.

FIG. 8 is a flowchart of another example embodiment of a further processfor the session-reflector entity of TWAMP. In this alternateimplementation the DSCP and ECN for a reverse direction testing is notsent in the first test packet. Instead it is separately negotiated bythe control-client/session-sender and server/session-reflector. This iscomplementary to the process for the session-sender of FIG. 7. In thiscase, a reverse DSCP and ECN to be utilized between the session-senderand session-reflector are negotiated by exchange of TWAMP controlmessages or using a similar mechanism (Block 801). The first test packetis then received by the session-reflector using the agreed upon initialDSCP and ECN for the forward direction (Block 803). The second testpacket with the agreed upon reverse DSCP and ECN is then generated bythe session-reflector using a sequence number in the received first testpacket (Block 805). The negotiated DSCP and ECN can be utilized for anynumber of test packets to be tested within the same test session;however, the sequence number will be advanced as each test packet isgenerated to differentiate between the test packets. The second testpacket with the same sequence number is then sent by thesession-reflector (Block 807).

FIG. 9 is an example test session between a session-sender andsession-reflector. This example illustrates a scenario with asession-sender communicating with a session-reflector. Thesession-sender and session-reflector establish a connection such as atransmission control protocol (TCP) between the session-sender andsession-reflector. The session-sender includes a DSCP and ECN Monitor(e.g., as part of a test session manager or similar component). Thesession-sender generates and sends a first test packet that includes apayload having an initial reverse DSCP and ECN (e.g., DSCP A1 and ECNB1) for the reverse direction and an IP header with another DSCP and ECNcombination (e.g., DSCP X1 and ECN Y1). The first test packet along theroute is modified such that the DSCP becomes Z1. The DSCP and ECN can bemodified by any intermediate network device.

The session-reflector receives the first test packet via an IP and UDPor TCP port. The session-reflector can include a DSCP and ECN packetprocessor in a test session manager or similar component. Thesession-reflector generates a second test packet with an IP headerincluding the DSCP and ECN specified in the first test packet payload.The final forward DSCP and ECN received in the first test packet IPheader (e.g., DSCP Z1 and ECN Y1) is also added to the second testpacket in the payload to be verified at the session-sender. The initialreverse DSCP and ECN (e.g., DSCP A1 and ECN B1) specified in thereceived first test packet payload is utilized as the IP header DSCP andECN in the transmitted second test packet. The transmitted second testpacket is received at the session-sender. In this example case ECN inthe IP header has been modified (e.g., ECN C1). Thus, the testing in theforward and reverse directions is separated allowing the session-senderto identify changes in DSCP and ECN specific to the forward and reversedirections.

The operations in this and other flow diagrams will be described withreference to the exemplary embodiments of the other figures. However, itshould be understood that the operations of the flow diagrams can beperformed by embodiments of the invention other than those discussedwith reference to the other figures, and the embodiments of theinvention discussed with reference to these other figures can performoperations different than those discussed with reference to the flowdiagrams.

Architecture

FIG. 10A illustrates connectivity between network devices (NDs) withinan exemplary network, as well as three exemplary implementations of theNDs, according to some embodiments of the invention. FIG. 10A shows NDs1000A-H, and their connectivity by way of lines between A-B, B-C, C-D,D-E, E-F, F-G, and A-G, as well as between H and each of A, C, D, and G.These NDs are physical devices, and the connectivity between these NDscan be wireless or wired (often referred to as a link). An additionalline extending from NDs 1000A, E, and F illustrates that these NDs actas ingress and egress points for the network (and thus, these NDs aresometimes referred to as edge NDs; while the other NDs may be calledcore NDs).

Two of the exemplary ND implementations in FIG. 10A are: 1) aspecial-purpose network device 1002 that uses customapplication-specific integrated-circuits (ASICs) and a proprietaryoperating system (OS); and 2) a general purpose network device 1004 thatuses common off-the-shelf (COTS) processors and a standard OS.

The special-purpose network device 1002 includes networking hardware1010 comprising compute resource(s) 1012 (which typically include a setof one or more processors), forwarding resource(s) 1014 (which typicallyinclude one or more ASICs and/or network processors), and physicalnetwork interfaces (NIs) 1016 (sometimes called physical ports), as wellas non-transitory machine readable storage media 1018 having storedtherein networking software 1020. A physical NI is hardware in a NDthrough which a network connection (e.g., wirelessly through a wirelessnetwork interface controller (WNIC) or through plugging in a cable to aphysical port connected to a network interface controller (NIC)) ismade, such as those shown by the connectivity between NDs 1000A-H.During operation, the networking software 1020 may be executed by thenetworking hardware 1010 to instantiate a set of one or more networkingsoftware instance(s) 1022. Each of the networking software instance(s)1022, and that part of the networking hardware 1010 that executes thatnetwork software instance (be it hardware dedicated to that networkingsoftware instance and/or time slices of hardware temporally shared bythat networking software instance with others of the networking softwareinstance(s) 1022), form a separate virtual network element 1030A-R. Eachof the virtual network element(s) (VNEs) 1030A-R includes a controlcommunication and configuration module 1032A-R (sometimes referred to asa local control module or control communication module) and forwardingtable(s) 1034A-R, such that a given virtual network element (e.g.,1030A) includes the control communication and configuration module(e.g., 1032A), a set of one or more forwarding table(s) (e.g., 1034A),and that portion of the networking hardware 1010 that executes thevirtual network element (e.g., 1030A).

Software 1020 can include code which when executed by networkinghardware 1010, causes networking hardware 1010 to perform operations ofone or more embodiments of the present invention as part networkingsoftware instances 1022. The software 1020 can include a test sessionmanager 1064A that encompasses the DSCP and ECN monitor and/or the DSCPand ECN packet processor that implement the methods of the server,control-client, session-sender and/or session-reflector. In oneembodiment, the test session manager 1064A is implemented by the serveror control-client, the DSCP and ECN monitoring is implemented by asession-sender and the DSCP and ECN packet processor is implemented bythe session-reflector.

The special-purpose network device 1002 is often physically and/orlogically considered to include: 1) a ND control plane 1024 (sometimesreferred to as a control plane) comprising the compute resource(s) 1012that execute the control communication and configuration module(s)1032A-R; and 2) a ND forwarding plane 1026 (sometimes referred to as aforwarding plane, a data plane, or a media plane) comprising theforwarding resource(s) 1014 that utilize the forwarding table(s) 1034A-Rand the physical NIs 1016. By way of example, where the ND is a router(or is implementing routing functionality), the ND control plane 1024(the compute resource(s) 1012 executing the control communication andconfiguration module(s) 1032A-R) is typically responsible forparticipating in controlling how data (e.g., packets) is to be routed(e.g., the next hop for the data and the outgoing physical NI for thatdata) and storing that routing information in the forwarding table(s)1034A-R, and the ND forwarding plane 1026 is responsible for receivingthat data on the physical NIs 1016 and forwarding that data out theappropriate ones of the physical NIs 1016 based on the forwardingtable(s) 1034A-R.

FIG. 10B illustrates an exemplary way to implement the special-purposenetwork device 1002 according to some embodiments of the invention. FIG.10B shows a special-purpose network device including cards 1038(typically hot pluggable). While in some embodiments the cards 1038 areof two types (one or more that operate as the ND forwarding plane 1026(sometimes called line cards), and one or more that operate to implementthe ND control plane 1024 (sometimes called control cards)), alternativeembodiments may combine functionality onto a single card and/or includeadditional card types (e.g., one additional type of card is called aservice card, resource card, or multi-application card). A service cardcan provide specialized processing (e.g., Layer 4 to Layer 7 services(e.g., firewall, Internet Protocol Security (IPsec), Secure SocketsLayer (SSL)/Transport Layer Security (TLS), Intrusion Detection System(IDS), peer-to-peer (P2P), Voice over IP (VoIP) Session BorderController, Mobile Wireless Gateways (Gateway General Packet RadioService (GPRS) Support Node (GGSN), Evolved Packet Core (EPC) Gateway)).By way of example, a service card may be used to terminate IPsec tunnelsand execute the attendant authentication and encryption algorithms.These cards are coupled together through one or more interconnectmechanisms illustrated as backplane 1036 (e.g., a first full meshcoupling the line cards and a second full mesh coupling all of thecards).

Returning to FIG. 10A, the general purpose network device 1004 includeshardware 1040 comprising a set of one or more processor(s) 1042 (whichare often COTS processors) and network interface controller(s) 1044(NICs; also known as network interface cards) (which include physicalNIs 1046), as well as non-transitory machine readable storage media 1048having stored therein software 1050. During operation, the processor(s)1042 execute the software 1050 to instantiate one or more sets of one ormore applications 1064A-R. While one embodiment does not implementvirtualization, alternative embodiments may use different forms ofvirtualization—represented by a virtualization layer 1054 and softwarecontainers 1062A-R. For example, one such alternative embodimentimplements operating system-level virtualization, in which case thevirtualization layer 1054 represents the kernel of an operating system(or a shim executing on a base operating system) that allows for thecreation of multiple software containers 1062A-R that may each be usedto execute one of the sets of applications 1064A-R. In this embodiment,the multiple software containers 1062A-R (also called virtualizationengines, virtual private servers, or jails) are each a user spaceinstance (typically a virtual memory space); these user space instancesare separate from each other and separate from the kernel space in whichthe operating system is run; the set of applications running in a givenuser space, unless explicitly allowed, cannot access the memory of theother processes. Another such alternative embodiment implements fullvirtualization, in which case: 1) the virtualization layer 1054represents a hypervisor (sometimes referred to as a virtual machinemonitor (VMM)) or a hypervisor executing on top of a host operatingsystem; and 2) the software containers 1062A-R each represent a tightlyisolated form of software container called a virtual machine that is runby the hypervisor and may include a guest operating system. A virtualmachine is a software implementation of a physical machine that runsprograms as if they were executing on a physical, non-virtualizedmachine; and applications generally do not know they are running on avirtual machine as opposed to running on a “bare metal” host electronicdevice, though some systems provide para-virtualization which allows anoperating system or application to be aware of the presence ofvirtualization for optimization purposes.

The instantiation of the one or more sets of one or more applications1064A-R, as well as the virtualization layer 1054 and softwarecontainers 1062A-R if implemented, are collectively referred to assoftware instance(s) 1052. Each set of applications 1064A-R,corresponding software container 1062A-R if implemented, and that partof the hardware 1040 that executes them (be it hardware dedicated tothat execution and/or time slices of hardware temporally shared bysoftware containers 1062A-R), forms a separate virtual networkelement(s) 1060A-R.

The virtual network element(s) 1060A-R perform similar functionality tothe virtual network element(s) 1030A-R—e.g., similar to the controlcommunication and configuration module(s) 1032A and forwarding table(s)1034A (this virtualization of the hardware 1040 is sometimes referred toas network function virtualization (NFV)). Thus, NFV may be used toconsolidate many network equipment types onto industry standard highvolume server hardware, physical switches, and physical storage, whichcould be located in Data centers, NDs, and customer premise equipment(CPE). However, different embodiments of the invention may implement oneor more of the software container(s) 1062A-R differently. For example,while embodiments of the invention are illustrated with each softwarecontainer 1062A-R corresponding to one VNE 1060A-R, alternativeembodiments may implement this correspondence at a finer levelgranularity (e.g., line card virtual machines virtualize line cards,control card virtual machine virtualize control cards, etc.); it shouldbe understood that the techniques described herein with reference to acorrespondence of software containers 1062A-R to VNEs also apply toembodiments where such a finer level of granularity is used.

In certain embodiments, the virtualization layer 1054 includes a virtualswitch that provides similar forwarding services as a physical Ethernetswitch. Specifically, this virtual switch forwards traffic betweensoftware containers 1062A-R and the NIC(s) 1044, as well as optionallybetween the software containers 1062A-R; in addition, this virtualswitch may enforce network isolation between the VNEs 1060A-R that bypolicy are not permitted to communicate with each other (e.g., byhonoring virtual local area networks (VLANs)).

Software 1050 can include code which when executed by processor(s) 1042,cause processor(s) 1042 to perform operations of one or more embodimentsof the present invention as part software containers 1062A-R. Thesoftware 1050 can include a test session manager 1065A that encompassesthe DSCP and ECN monitor and/or the DSCP and ECN packet processor thatimplement the methods of the server, control-client, session-senderand/or session-reflector. In one embodiment, the test session manager1064A is implemented by the server or control-client, the DSCP and ECNmonitoring is implemented by a session-sender and the DSCP and ECNpacket processor is implemented by the session-reflector.

The third exemplary ND implementation in FIG. 10A is a hybrid networkdevice 1006, which includes both custom ASICs/proprietary OS and COTSprocessors/standard OS in a single ND or a single card within an ND. Incertain embodiments of such a hybrid network device, a platform VM(i.e., a VM that that implements the functionality of thespecial-purpose network device 1002) could provide forpara-virtualization to the networking hardware present in the hybridnetwork device 1006.

Regardless of the above exemplary implementations of an ND, when asingle one of multiple VNEs implemented by an ND is being considered(e.g., only one of the VNEs is part of a given virtual network) or whereonly a single VNE is currently being implemented by an ND, the shortenedterm network element (NE) is sometimes used to refer to that VNE. Alsoin all of the above exemplary implementations, each of the VNEs (e.g.,VNE(s) 1030A-R, VNEs 1060A-R, and those in the hybrid network device1006) receives data on the physical NIs (e.g., 1016, 1046) and forwardsthat data out the appropriate ones of the physical NIs (e.g., 1016,1046). For example, a VNE implementing IP router functionality forwardsIP packets on the basis of some of the IP header information in the IPpacket; where IP header information includes source IP address,destination IP address, source port, destination port (where “sourceport” and “destination port” refer herein to protocol ports, as opposedto physical ports of a ND), transport protocol (e.g., user datagramprotocol (UDP), Transmission Control Protocol (TCP), and differentiatedservices code point (DSCP) values.

FIG. 10C illustrates various exemplary ways in which VNEs may be coupledaccording to some embodiments of the invention. FIG. 10C shows VNEs1070A.1-1070A.P (and optionally VNEs 1070A.Q-1070A.R) implemented in ND1000A and VNE 1070H.1 in ND 1000H. In FIG. 10C, VNEs 1070A.1-P areseparate from each other in the sense that they can receive packets fromoutside ND 1000A and forward packets outside of ND 1000A; VNE 1070A.1 iscoupled with VNE 1070H.1, and thus they communicate packets betweentheir respective NDs; VNE 1070A.2-1070A.3 may optionally forward packetsbetween themselves without forwarding them outside of the ND 1000A; andVNE 1070A.P may optionally be the first in a chain of VNEs that includesVNE 1070A.Q followed by VNE 1070A.R (this is sometimes referred to asdynamic service chaining, where each of the VNEs in the series of VNEsprovides a different service—e.g., one or more layer 4-7 networkservices). While FIG. 10C illustrates various exemplary relationshipsbetween the VNEs, alternative embodiments may support otherrelationships (e.g., more/fewer VNEs, more/fewer dynamic service chains,multiple different dynamic service chains with some common VNEs and somedifferent VNEs).

The NDs of FIG. 10A, for example, may form part of the Internet or aprivate network; and other electronic devices (not shown; such as enduser devices including workstations, laptops, netbooks, tablets, palmtops, mobile phones, smartphones, phablets, multimedia phones, VoiceOver Internet Protocol (VOIP) phones, terminals, portable media players,GPS units, wearable devices, gaming systems, set-top boxes, Internetenabled household appliances) may be coupled to the network (directly orthrough other networks such as access networks) to communicate over thenetwork (e.g., the Internet or virtual private networks (VPNs) overlaidon (e.g., tunneled through) the Internet) with each other (directly orthrough servers) and/or access content and/or services. Such contentand/or services are typically provided by one or more servers (notshown) belonging to a service/content provider or one or more end userdevices (not shown) participating in a peer-to-peer (P2P) service, andmay include, for example, public webpages (e.g., free content, storefronts, search services), private webpages (e.g., username/passwordaccessed webpages providing email services), and/or corporate networksover VPNs. For instance, end user devices may be coupled (e.g., throughcustomer premise equipment coupled to an access network (wired orwirelessly)) to edge NDs, which are coupled (e.g., through one or morecore NDs) to other edge NDs, which are coupled to electronic devicesacting as servers. However, through compute and storage virtualization,one or more of the electronic devices operating as the NDs in FIG. 10Amay also host one or more such servers (e.g., in the case of the generalpurpose network device 1004, one or more of the software containers1062A-R may operate as servers; the same would be true for the hybridnetwork device 1006; in the case of the special-purpose network device1002, one or more such servers could also be run on a virtualizationlayer executed by the compute resource(s) 1012); in which case theservers are said to be co-located with the VNEs of that ND.

A virtual network is a logical abstraction of a physical network (suchas that in FIG. 10A) that provides network services (e.g., L2 and/or L3services). A virtual network can be implemented as an overlay network(sometimes referred to as a network virtualization overlay) thatprovides network services (e.g., layer 2 (L2, data link layer) and/orlayer 3 (L3, network layer) services) over an underlay network (e.g., anL3 network, such as an Internet Protocol (IP) network that uses tunnels(e.g., generic routing encapsulation (GRE), layer 2 tunneling protocol(L2TP), IPSec) to create the overlay network).

A network virtualization edge (NVE) sits at the edge of the underlaynetwork and participates in implementing the network virtualization; thenetwork-facing side of the NVE uses the underlay network to tunnelframes to and from other NVEs; the outward-facing side of the NVE sendsand receives data to and from systems outside the network. A virtualnetwork instance (VNI) is a specific instance of a virtual network on aNVE (e.g., a NE/VNE on an ND, a part of a NE/VNE on a ND where thatNE/VNE is divided into multiple VNEs through emulation); one or moreVNIs can be instantiated on an NVE (e.g., as different VNEs on an ND). Avirtual access point (VAP) is a logical connection point on the NVE forconnecting external systems to a virtual network; a VAP can be physicalor virtual ports identified through logical interface identifiers (e.g.,a VLAN ID).

Examples of network services include: 1) an Ethernet LAN emulationservice (an Ethernet-based multipoint service similar to an InternetEngineering Task Force (IETF) Multiprotocol Label Switching (MPLS) orEthernet VPN (EVPN) service) in which external systems areinterconnected across the network by a LAN environment over the underlaynetwork (e.g., an NVE provides separate L2 VNIs (virtual switchinginstances) for different such virtual networks, and L3 (e.g., IP/MPLS)tunneling encapsulation across the underlay network); and 2) avirtualized IP forwarding service (similar to IETF IP VPN (e.g., BorderGateway Protocol (BGP)/MPLS IPVPN) from a service definitionperspective) in which external systems are interconnected across thenetwork by an L3 environment over the underlay network (e.g., an NVEprovides separate L3 VNIs (forwarding and routing instances) fordifferent such virtual networks, and L3 (e.g., IP/MPLS) tunnelingencapsulation across the underlay network)). Network services may alsoinclude quality of service capabilities (e.g., traffic classificationmarking, traffic conditioning and scheduling), security capabilities(e.g., filters to protect customer premises from network—originatedattacks, to avoid malformed route announcements), and managementcapabilities (e.g., full detection and processing).

FIG. 10D illustrates a network with a single network element on each ofthe NDs of FIG. 10A, and within this straight forward approach contrastsa traditional distributed approach (commonly used by traditionalrouters) with a centralized approach for maintaining reachability andforwarding information (also called network control), according to someembodiments of the invention. Specifically, FIG. 10D illustrates networkelements (NEs) 1070A-H with the same connectivity as the NDs 1000A-H ofFIG. 10A.

FIG. 10D illustrates that the distributed approach 1072 distributesresponsibility for generating the reachability and forwardinginformation across the NEs 1070A-H; in other words, the process ofneighbor discovery and topology discovery is distributed.

For example, where the special-purpose network device 1002 is used, thecontrol communication and configuration module(s) 1032A-R of the NDcontrol plane 1024 typically include a reachability and forwardinginformation module to implement one or more routing protocols (e.g., anexterior gateway protocol such as Border Gateway Protocol (BGP),Interior Gateway Protocol(s) (IGP) (e.g., Open Shortest Path First(OSPF), Intermediate System to Intermediate System (IS-IS), RoutingInformation Protocol (RIP)), Label Distribution Protocol (LDP), ResourceReservation Protocol (RSVP), as well as RSVP-Traffic Engineering (TE):Extensions to RSVP for LSP Tunnels, Generalized Multi-Protocol LabelSwitching (GMPLS) Signaling RSVP-TE that communicate with other NEs toexchange routes, and then selects those routes based on one or morerouting metrics. Thus, the NEs 1070A-H (e.g., the compute resource(s)1012 executing the control communication and configuration module(s)1032A-R) perform their responsibility for participating in controllinghow data (e.g., packets) is to be routed (e.g., the next hop for thedata and the outgoing physical NI for that data) by distributivelydetermining the reachability within the network and calculating theirrespective forwarding information. Routes and adjacencies are stored inone or more routing structures (e.g., Routing Information Base (RIB),Label Information Base (LIB), one or more adjacency structures) on theND control plane 1024. The ND control plane 1024 programs the NDforwarding plane 1026 with information (e.g., adjacency and routeinformation) based on the routing structure(s). For example, the NDcontrol plane 1024 programs the adjacency and route information into oneor more forwarding table(s) 1034A-R (e.g., Forwarding Information Base(FIB), Label Forwarding Information Base (LFIB), and one or moreadjacency structures) on the ND forwarding plane 1026. For layer 2forwarding, the ND can store one or more bridging tables that are usedto forward data based on the layer 2 information in that data. While theabove example uses the special-purpose network device 1002, the samedistributed approach 1072 can be implemented on the general purposenetwork device 1004 and the hybrid network device 1006.

FIG. 10D illustrates that a centralized approach 1074 (also known assoftware defined networking (SDN)) that decouples the system that makesdecisions about where traffic is sent from the underlying systems thatforwards traffic to the selected destination. The illustratedcentralized approach 1074 has the responsibility for the generation ofreachability and forwarding information in a centralized control plane1076 (sometimes referred to as a SDN control module, controller, networkcontroller, OpenFlow controller, SDN controller, control plane node,network virtualization authority, or management control entity), andthus the process of neighbor discovery and topology discovery iscentralized. The centralized control plane 1076 has a south boundinterface 1082 with a data plane 1080 (sometime referred to theinfrastructure layer, network forwarding plane, or forwarding plane(which should not be confused with a ND forwarding plane)) that includesthe NEs 1070A-H (sometimes referred to as switches, forwarding elements,data plane elements, or nodes). The centralized control plane 1076includes a network controller 1078, which includes a centralizedreachability and forwarding information module 1079 that determines thereachability within the network and distributes the forwardinginformation to the NEs 1070A-H of the data plane 1080 over the southbound interface 1082 (which may use the OpenFlow protocol). Thus, thenetwork intelligence is centralized in the centralized control plane1076 executing on electronic devices that are typically separate fromthe NDs.

For example, where the special-purpose network device 1002 is used inthe data plane 1080, each of the control communication and configurationmodule(s) 1032A-R of the ND control plane 1024 typically include acontrol agent that provides the VNE side of the south bound interface1082. In this case, the ND control plane 1024 (the compute resource(s)1012 executing the control communication and configuration module(s)1032A-R) performs its responsibility for participating in controllinghow data (e.g., packets) is to be routed (e.g., the next hop for thedata and the outgoing physical NI for that data) through the controlagent communicating with the centralized control plane 1076 to receivethe forwarding information (and in some cases, the reachabilityinformation) from the centralized reachability and forwardinginformation module 1079 (it should be understood that in someembodiments of the invention, the control communication andconfiguration module(s) 1032A-R, in addition to communicating with thecentralized control plane 1076, may also play some role in determiningreachability and/or calculating forwarding information—albeit less sothan in the case of a distributed approach; such embodiments aregenerally considered to fall under the centralized approach 1074, butmay also be considered a hybrid approach).

While the above example uses the special-purpose network device 1002,the same centralized approach 1074 can be implemented with the generalpurpose network device 1004 (e.g., each of the VNE 1060A-R performs itsresponsibility for controlling how data (e.g., packets) is to be routed(e.g., the next hop for the data and the outgoing physical NI for thatdata) by communicating with the centralized control plane 1076 toreceive the forwarding information (and in some cases, the reachabilityinformation) from the centralized reachability and forwardinginformation module 1079; it should be understood that in someembodiments of the invention, the VNEs 1060A-R, in addition tocommunicating with the centralized control plane 1076, may also playsome role in determining reachability and/or calculating forwardinginformation—albeit less so than in the case of a distributed approach)and the hybrid network device 1006. In fact, the use of SDN techniquescan enhance the NFV techniques typically used in the general purposenetwork device 1004 or hybrid network device 1006 implementations as NFVis able to support SDN by providing an infrastructure upon which the SDNsoftware can be run, and NFV and SDN both aim to make use of commodityserver hardware and physical switches.

In some embodiments, the centralized control plane 1064 can include codewhich when executed by a network device, causes the network device toperform operations of one or more embodiments of the present inventionas part of a test session manager or Orchestrator 1081. The test sessionmanager or orchestrator 1081 configures the session-sender andsession-reflector as described herein above.

FIG. 10D also shows that the centralized control plane 1076 has a northbound interface 1084 to an application layer 1086, in which residesapplication(s) 1088. The centralized control plane 1076 has the abilityto form virtual networks 1092 (sometimes referred to as a logicalforwarding plane, network services, or overlay networks (with the NEs1070A-H of the data plane 1080 being the underlay network)) for theapplication(s) 1088. Thus, the centralized control plane 1076 maintainsa global view of all NDs and configured NEs/VNEs, and it maps thevirtual networks to the underlying NDs efficiently (includingmaintaining these mappings as the physical network changes eitherthrough hardware (ND, link, or ND component) failure, addition, orremoval).

While FIG. 10D shows the distributed approach 1072 separate from thecentralized approach 1074, the effort of network control may bedistributed differently or the two combined in certain embodiments ofthe invention. For example: 1) embodiments may generally use thecentralized approach (SDN) 1074, but have certain functions delegated tothe NEs (e.g., the distributed approach may be used to implement one ormore of fault monitoring, performance monitoring, protection switching,and primitives for neighbor and/or topology discovery); or 2)embodiments of the invention may perform neighbor discovery and topologydiscovery via both the centralized control plane and the distributedprotocols, and the results compared to raise exceptions where they donot agree. Such embodiments are generally considered to fall under thecentralized approach 1074, but may also be considered a hybrid approach.

While FIG. 10D illustrates the simple case where each of the NDs 1000A-Himplements a single NE 1070A-H, it should be understood that the networkcontrol approaches described with reference to FIG. 10D also work fornetworks where one or more of the NDs 1000A-H implement multiple VNEs(e.g., VNEs 1030A-R, VNEs 1060A-R, those in the hybrid network device1006). Alternatively or in addition, the network controller 1078 mayalso emulate the implementation of multiple VNEs in a single ND.Specifically, instead of (or in addition to) implementing multiple VNEsin a single ND, the network controller 1078 may present theimplementation of a VNE/NE in a single ND as multiple VNEs in thevirtual networks 1092 (all in the same one of the virtual network(s)1092, each in different ones of the virtual network(s) 1092, or somecombination). For example, the network controller 1078 may cause an NDto implement a single VNE (a NE) in the underlay network, and thenlogically divide up the resources of that NE within the centralizedcontrol plane 1076 to present different VNEs in the virtual network(s)1092 (where these different VNEs in the overlay networks are sharing theresources of the single VNE/NE implementation on the ND in the underlaynetwork).

On the other hand, FIGS. 10E and 10F respectively illustrate exemplaryabstractions of NEs and VNEs that the network controller 1078 maypresent as part of different ones of the virtual networks 1092. FIG. 10Eillustrates the simple case of where each of the NDs 1000A-H implementsa single NE 1070A-H (see FIG. 10D), but the centralized control plane1076 has abstracted multiple of the NEs in different NDs (the NEs1070A-C and G-H) into (to represent) a single NE 1070I in one of thevirtual network(s) 1092 of FIG. 10D, according to some embodiments ofthe invention. FIG. 10E shows that in this virtual network, the NE 1070Iis coupled to NE 1070D and 1070F, which are both still coupled to NE1070E.

FIG. 10F illustrates a case where multiple VNEs (VNE 1070A.1 and VNE1070H.1) are implemented on different NDs (ND 1000A and ND 1000H) andare coupled to each other, and where the centralized control plane 1076has abstracted these multiple VNEs such that they appear as a single VNE1070T within one of the virtual networks 1092 of FIG. 10D, according tosome embodiments of the invention. Thus, the abstraction of a NE or VNEcan span multiple NDs.

While some embodiments of the invention implement the centralizedcontrol plane 1076 as a single entity (e.g., a single instance ofsoftware running on a single electronic device), alternative embodimentsmay spread the functionality across multiple entities for redundancyand/or scalability purposes (e.g., multiple instances of softwarerunning on different electronic devices).

Similar to the network device implementations, the electronic device(s)running the centralized control plane 1076, and thus the networkcontroller 1078 including the centralized reachability and forwardinginformation module 1079, may be implemented a variety of ways (e.g., aspecial purpose device, a general-purpose (e.g., COTS) device, or hybriddevice). These electronic device(s) would similarly include computeresource(s), a set or one or more physical NICs, and a non-transitorymachine-readable storage medium having stored thereon the centralizedcontrol plane software. For instance, FIG. 11 illustrates, a generalpurpose control plane device 1104 including hardware 1140 comprising aset of one or more processor(s) 1142 (which are often COTS processors)and network interface controller(s) 1144 (NICs; also known as networkinterface cards) (which include physical NIs 1146), as well asnon-transitory machine readable storage media 1148 having stored thereincentralized control plane (CCP) software 1150.

In embodiments that use compute virtualization, the processor(s) 1142typically execute software to instantiate a virtualization layer 1154and software container(s) 1162A-R (e.g., with operating system-levelvirtualization, the virtualization layer 1154 represents the kernel ofan operating system (or a shim executing on a base operating system)that allows for the creation of multiple software containers 1162A-R(representing separate user space instances and also calledvirtualization engines, virtual private servers, or jails) that may eachbe used to execute a set of one or more applications; with fullvirtualization, the virtualization layer 1154 represents a hypervisor(sometimes referred to as a virtual machine monitor (VMM)) or ahypervisor executing on top of a host operating system, and the softwarecontainers 1162A-R each represent a tightly isolated form of softwarecontainer called a virtual machine that is run by the hypervisor and mayinclude a guest operating system; with para-virtualization, an operatingsystem or application running with a virtual machine may be aware of thepresence of virtualization for optimization purposes). Again, inembodiments where compute virtualization is used, during operation aninstance of the CCP software 1150 (illustrated as CCP instance 1176A) isexecuted within the software container 1162A on the virtualization layer1154. In embodiments where compute virtualization is not used, the CCPinstance 1176A on top of a host operating system is executed on the“bare metal” general purpose control plane device 1104. Theinstantiation of the CCP instance 1176A, as well as the virtualizationlayer 1154 and software containers 1162A-R if implemented, arecollectively referred to as software instance(s) 1152.

In some embodiments, the CCP instance 1176A includes a networkcontroller instance 1178. The network controller instance 1178 includesa centralized reachability and forwarding information module instance1179 (which is a middleware layer providing the context of the networkcontroller 1078 to the operating system and communicating with thevarious NEs), and an CCP application layer 1180 (sometimes referred toas an application layer) over the middleware layer (providing theintelligence required for various network operations such as protocols,network situational awareness, and user—interfaces). At a more abstractlevel, this CCP application layer 1180 within the centralized controlplane 1076 works with virtual network view(s) (logical view(s) of thenetwork) and the middleware layer provides the conversion from thevirtual networks to the physical view.

In some embodiments, the control plane device 1104 can include codewhich when executed, causes the control plane device to performoperations of one or more embodiments of the present invention as partof a test session manager or orchestrator 1181. The test session manageror orchestrator 1181 configures the session-sender and session-reflectoras described herein above.

The centralized control plane 1076 transmits relevant messages to thedata plane 1080 based on CCP application layer 1180 calculations andmiddleware layer mapping for each flow. A flow may be defined as a setof packets whose headers match a given pattern of bits; in this sense,traditional IP forwarding is also flow-based forwarding where the flowsare defined by the destination IP address for example; however, in otherimplementations, the given pattern of bits used for a flow definitionmay include more fields (e.g., 10 or more) in the packet headers.Different NDs/NEs/VNEs of the data plane 1080 may receive differentmessages, and thus different forwarding information. The data plane 1080processes these messages and programs the appropriate flow informationand corresponding actions in the forwarding tables (sometime referred toas flow tables) of the appropriate NE/VNEs, and then the NEs/VNEs mapincoming packets to flows represented in the forwarding tables andforward packets based on the matches in the forwarding tables.

Standards such as OpenFlow define the protocols used for the messages,as well as a model for processing the packets. The model for processingpackets includes header parsing, packet classification, and makingforwarding decisions. Header parsing describes how to interpret a packetbased upon a well-known set of protocols. Some protocol fields are usedto build a match structure (or key) that will be used in packetclassification (e.g., a first key field could be a source media accesscontrol (MAC) address, and a second key field could be a destination MACaddress).

Packet classification involves executing a lookup in memory to classifythe packet by determining which entry (also referred to as a forwardingtable entry or flow entry) in the forwarding tables best matches thepacket based upon the match structure, or key, of the forwarding tableentries. It is possible that many flows represented in the forwardingtable entries can correspond/match to a packet; in this case the systemis typically configured to determine one forwarding table entry from themany according to a defined scheme (e.g., selecting a first forwardingtable entry that is matched). Forwarding table entries include both aspecific set of match criteria (a set of values or wildcards, or anindication of what portions of a packet should be compared to aparticular value/values/wildcards, as defined by the matchingcapabilities—for specific fields in the packet header, or for some otherpacket content), and a set of one or more actions for the data plane totake on receiving a matching packet. For example, an action may be topush a header onto the packet, for the packet using a particular port,flood the packet, or simply drop the packet. Thus, a forwarding tableentry for IPv4/IPv6 packets with a particular transmission controlprotocol (TCP) destination port could contain an action specifying thatthese packets should be dropped.

Making forwarding decisions and performing actions occurs, based uponthe forwarding table entry identified during packet classification, byexecuting the set of actions identified in the matched forwarding tableentry on the packet.

However, when an unknown packet (for example, a “missed packet” or a“match-miss” as used in OpenFlow parlance) arrives at the data plane1080, the packet (or a subset of the packet header and content) istypically forwarded to the centralized control plane 1076. Thecentralized control plane 1076 will then program forwarding tableentries into the data plane 1080 to accommodate packets belonging to theflow of the unknown packet. Once a specific forwarding table entry hasbeen programmed into the data plane 1080 by the centralized controlplane 1076, the next packet with matching credentials will match thatforwarding table entry and take the set of actions associated with thatmatched entry.

Some portions of the preceding detailed descriptions have been presentedin terms of algorithms and symbolic representations of transactions ondata bits within a computer memory. These algorithmic descriptions andrepresentations are the ways used by those skilled in the dataprocessing arts to most effectively convey the substance of their workto others skilled in the art. An algorithm is here, and generally,conceived to be a self-consistent sequence of transactions leading to adesired result. The transactions are those requiring physicalmanipulations of physical quantities. Usually, though not necessarily,these quantities take the form of electrical or magnetic signals capableof being stored, transferred, combined, compared, and otherwisemanipulated. It has proven convenient at times, principally for reasonsof common usage, to refer to these signals as bits, values, elements,symbols, characters, terms, numbers, or the like.

It should be borne in mind, however, that all of these and similar termsare to be associated with the appropriate physical quantities and aremerely convenient labels applied to these quantities. Unlessspecifically stated otherwise as apparent from the above discussion, itis appreciated that throughout the description, discussions utilizingterms such as “processing” or “computing” or “calculating” or“determining” or “displaying” or the like, refer to the action andprocesses of a computer system, or similar electronic computing device,that manipulates and transforms data represented as physical(electronic) quantities within the computer system's registers andmemories into other data similarly represented as physical quantitieswithin the computer system memories or registers or other suchinformation storage, transmission or display devices.

The algorithms and displays presented herein are not inherently relatedto any particular computer or other apparatus. Various general-purposesystems may be used with programs in accordance with the teachingsherein, or it may prove convenient to construct more specializedapparatus to perform the required method transactions. The requiredstructure for a variety of these systems will appear from thedescription above. In addition, embodiments of the present invention arenot described with reference to any particular programming language. Itwill be appreciated that a variety of programming languages may be usedto implement the teachings of embodiments of the invention as describedherein.

In the foregoing specification, embodiments of the invention have beendescribed with reference to specific exemplary embodiments thereof. Itwill be evident that various modifications may be made thereto withoutdeparting from the broader spirit and scope of the invention as setforth in the following claims. The specification and drawings are,accordingly, to be regarded in an illustrative sense rather than arestrictive sense.

Throughout the description, embodiments of the present invention havebeen presented through flow diagrams. It will be appreciated that theorder of transactions and transactions described in these flow diagramsare only intended for illustrative purposes and not intended as alimitation of the present invention. One having ordinary skill in theart would recognize that variations can be made to the flow diagramswithout departing from the broader spirit and scope of the invention asset forth in the following claims.

1. A method executed by a network device implementing a control-clientto configure a session-sender to perform a test to determine whetherdifferentiated services code point (DSCP) and explicit congestionnotification (ECN) are modified in a single test session in a forwarddirection and a reverse direction between the session-sender and asession-reflector, where multiple DSCP and ECN are tested using thesingle test session, the method comprising: receiving a server greetingmessage from a server including characteristics of thesession-reflector; determining whether the session-reflector supportsuse of multiple DSCP in the single test session; setting aset-up-response message to indicate DSCP and ECN testing; determiningwhether the session-reflector supports DSCP and ECN monitoring; addingan indicator of DSCP and ECN monitoring in the set-up-response message,in response to a determination that the session-reflector supports DSCPand ECN monitoring; and sending the set-up-response message to theserver.
 2. The method of claim 1, wherein the server greeting messageincludes a field indicating session-reflector support for use ofmultiple DSCP in the single test session.
 3. The method of claim 1,wherein the server greeting message includes a field indicatingsession-reflector support for DSCP and ECN monitoring.
 4. (canceled) 5.(canceled)
 6. A network device implementing a client-controller toconfigure a session-sender to perform a test to determine whetherdifferentiated services code point (DSCP) and explicit congestionnotification (ECN) are modified in a single test session in a forwarddirection and a reverse direction between the session-sender and asession-reflector, where multiple DSCP and ECN are tested using thesingle test session, the network device comprising: a non-transitorymachine readable medium having stored therein a test session manager;and a processor coupled to the non-transitory machine readable medium,the processor to execute the test session manager, the test sessionmanager configured to receive a server greeting message from a serverincluding characteristics of the session-reflector, to determine whetherthe session-reflector supports use of multiple DSCP in the single testsession, to set a set-up-response message to indicate DSCP and ECNtesting, to determine whether the session-reflector supports DSCP andECN monitoring, to add an indicator of DSCP and ECN monitoring in theset-up-response message, in response to a determination that thesession-reflector supports DSCP and ECN monitoring, and to send theset-up-response message to the server.
 7. The network device of claim 6,wherein the server greeting message includes a field indicatingsession-reflector support for use of multiple DSCP in the single testsession.
 8. The network device of claim 6, wherein the server greetingmessage includes a field indicating session-reflector support for DSCPand ECN monitoring.
 9. (canceled)
 10. (canceled)
 11. A computing devicein communication with a network device in a network with a plurality ofnetwork devices, the computing device to execute a plurality of virtualmachines for implementing network function virtualization (NFV), whereina virtual machine from the plurality of virtual machines executes aclient-controller to configure a session-sender to perform a test todetermine whether differentiated services code point (DSCP) and explicitcongestion notification (ECN) are modified in a single test session in aforward direction and a reverse direction between the session-sender anda session-reflector, where multiple DSCP and ECN are tested using thesingle test session, the computing device comprising: a non-transitorymachine readable medium having stored therein a test session manager;and a processor coupled to the non-transitory machine readable medium,the processor to execute a virtual machine, the virtual machine toexecute the test session manager, test session manager configured toreceive a server greeting message from a server includingcharacteristics of the session-reflector, to determine whether thesession-reflector supports use of multiple DSCP in the single testsession, to set a set-up-response message to indicate DSCP and ECNtesting, to determine whether the session-reflector supports DSCP andECN monitoring, to add an indicator of DSCP and ECN monitoring in theset-up-response message, in response to a determination that thesession-reflector supports DSCP and ECN monitoring, and to send theset-up-response message to the server.
 12. The computing device of claim11, wherein the server greeting message includes a field indicatingsession-reflector support for use of multiple DSCP in the single testsession.
 13. The computing device of claim 11, wherein the servergreeting message includes a field indicating session-reflector supportfor DSCP and ECN monitoring.
 14. A control plane device configured toimplement a control plane of a software defined networking (SDN) networkincluding a plurality of network devices, wherein the control planedevice is configured to execute a method to implement an orchestrator toperform a test to determine whether differentiated services code point(DSCP) and explicit congestion notification (ECN) are modified in asingle test session in a forward direction and a reverse directionbetween a session-sender and a session-reflector, where multiple DSCPand ECN are tested using the single test session, the control planedevice comprising: a non-transitory machine readable medium havingstored therein the orchestrator; and a processor coupled to thenon-transitory machine readable medium, the processor to execute theorchestrator, the orchestrator configured to determine characteristicsof the session-reflector, to determine whether the session-reflectorsupports use of multiple DSCP in a single test session, to set aconfiguration message to indicate DSCP and ECN testing, to determinewhether the session-reflector supports DSCP and ECN monitoring, to addan indicator of DSCP and ECN monitoring in the configuration message, inresponse to a determination that the session-reflector supports DSCP andECN monitoring, and to send the configuration message to thesession-sender and session-reflector.
 15. The control plane device ofclaim 14, wherein the configuration message includes a field identifyingDSCP and ECN values to be tested.
 16. The method of claim 1, wherein thesingle test session is a two-way active measurement protocol (TWAMP)test session.
 17. The network device of claim 6, wherein the single testsession is a two-way active measurement protocol (TWAMP) test session.18. The computing device of claim 11, wherein the single test session isa two-way active measurement protocol (TWAMP) test session.
 19. Thecontrol plane device of claim 14, wherein the single test session is atwo-way active measurement protocol (TWAMP) test session.
 20. The methodof claim 1, further comprising: setting up multiple test sessionsbetween the session-sender and the session-reflector to test multipleDSCP or ECN, in response to determining the session-reflector does notsupport multiple DSCP in the single session.
 21. The network device ofclaim 6, wherein the test session manager is further configured to setup multiple test sessions between the session-sender and thesession-reflector to test multiple DSCP or ECN, in response todetermining the session-reflector does not support multiple DSCP in thesingle session.
 22. The computing device of claim 11, wherein the testsession manager is further configured to set up multiple test sessionsbetween the session-sender and the session-reflector to test multipleDSCP or ECN, in response to determining the session-reflector does notsupport multiple DSCP in the single session.
 23. The control planedevice of claim 14, wherein the orchestrator further configured to setup multiple test sessions between the session-sender and thesession-reflector to test multiple DSCP or ECN, in response todetermining the session-reflector does not support multiple DSCP in thesingle session.